Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Olga Kiveluchekakol 26.Jan.04 12:25 PM a Web browser
Applications Development 6.5 iSeries


Basically I'm trying to compare some dates and then set actions accordingly.

Say If today >22/12/03 or Today<= 09/01/04 then
X + y = z
or else
if today > 09/01/04 or today <= 23/01/04 then *** This is where the code seems to fail
some action

else
other action.

end if

My code is below :

If Today() > profileDoc.Dec2nd(0) Or Today() <= profileDoc.Jan1st(0) Then

gnWebDoc.thisbatch = profileDoc.Jan1st(0)

Elseif Today() > profileDoc.Jan1st(0) Or Today() <= profileDoc.Jan2nd(0) Then *** This part would evaluate true if today is 26/01/04 which I do not want to happen!
gnWebDoc.thisbatch = profileDoc.Jan2nd(0)

Else
gnWebDoc.thisbatch = profileDoc.Feb1st(0)
End If

Any ideas on why I'm getting this?

Thanks






Help Debug my script!!! (~Olga Kiveluche... 26.Jan.04)
. . RE: Help Debug my script!!! (~Nicole Desfree... 26.Jan.04)
. . . . RE: Help Debug my script!!! (~Olga Kiveluche... 26.Jan.04)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS